/**
 * @filename:CheckInDao CheckIn
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.repository;

import java.util.List;

import com.znufe.exam.viewmodel.vote.checkin.CheckInCountRequestVM;
import com.znufe.exam.viewmodel.vote.checkin.CheckInCountResponseVM;
import org.apache.ibatis.annotations.Mapper;
import com.znufe.exam.domain.CheckIn;

/**   
 *  
 * @Description:  答题器签到信息表——DAO
 * @Author:       lin keqing   
 * @CreateDate:   CheckIn
 * @Version:      V1.0
 *    
 */
@Mapper
public interface CheckInMapper extends BaseMapper<CheckIn> {
	
	CheckIn selectByPrimaryKey(Integer id);
	
	int deleteByPrimaryKey(Integer id);
	
	int insertSelective(CheckIn checkIn);
	
	int updateByPrimaryKeySelective(CheckIn checkIn);
	
	List<CheckIn> queryCheckInList(CheckIn checkIn);

	CheckInCountResponseVM selectCheckInCount(CheckInCountRequestVM requestVM);
}
